<link rel="stylesheet" type="text/css" href="|£|$url|\£|/wp-content/plugins/video-wizard/libs/Smarty/templates/css/palinsesto_creation.css"/>
<link rel="stylesheet" type="text/css" href="|£|$url|\£|/wp-content/plugins/video-wizard/libs/jqueryUI/css/ui-lightness/jquery-ui-1.8.16.custom.css"/>
<script type="text/javascript" src="|£|$url|\£|/wp-content/plugins/video-wizard/libs/jquery/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="|£|$url|\£|/wp-content/plugins/video-wizard/libs/jqueryUI/js/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="|£|$url|\£|/wp-content/plugins/video-wizard/js/palinsesto_creation.js"></script>
<script type="text/javascript" src="|£|$url|\£|/wp-content/plugins/video-wizard/libs/jwplayer/jwplayer.js"></script>
<script type="text/javascript" src="|£|$url|\£|/wp-content/plugins/video-wizard/js/checks.js"></script>
<script type="text/javascript" src="|£|$url|\£|/wp-content/plugins/video-wizard/js/utilities.js"></script>

<div id="moderatevideos-cont">
    <div class="floatl" id="moderatevideos-videolist">
            |£|foreach key=key from=$data item=item|\£|
                <div class="modvid-result" id="modvid-rescont|£|$key|\£|"
                     vidthumb="|£|$item.thumb|replace:".png":"_thumb.png"|\£|" 
                     vidbigthumb="|£|$item.thumb|\£|" 
                     vidtitle="|£|$item.title|\£|"
                     vidmetatags="|£|$item.metatags|\£|"
                     viddesc="|£|$item.description|\£|"
                     vidid="|£|$item.id|\£|"
                     vidpath="|£|$item.file_position|\£|"
                     vidcat = "|£|$item.category|\£|"
                     >
                    <img class="floatl modvid-thumb" src="|£|$item.thumb|replace:".png":"_thumb.png"|\£|" alt="|£|$item.title|\£|"/>
                    <div class="modvid-title floatl">
                        <strong>|£|$item.title|\£|</strong><br/>
                        <div class="modvid-buttons">
                            <style>
                                .addButton{
                                    display:none;
                                }
                            </style>
                            <input type="button" value="Guarda video" onclick="playVideo('modvid-rescont|£|$key|\£|');" >
                            <input type="button" value="Modifica" onclick="editVideo('modvid-rescont|£|$key|\£|');">
                        </div>
                    </div>
                    <div class="clr"></div>
                    
                </div>
       
            |£|/foreach|\£|
    </div>
    <div class="floatl" id="moderatevideos-data">
        <form>
            <div>
                Titolo<br/>
                <input type="text" id="modvid-title" name="title"/>
                <br/><br/><br/>
                Descrizione<br/>
                <textarea rows="10" cols="60" id="modvid-description" name="description"></textarea>
                <br/><br/><br/>
                Metatags<br/>
                <input type="text" id="modvid-metatags" name="metatags"/>
                <br/><br/><br/>
                Categoria <br/>
                <select id="modvid-category" name="category">
                    <option value="no_selected">-- Seleziona Categoria --</option>
                    |£|foreach from=$categories item=category|\£|
                        <option value="|£|$category.term_id|\£|">|£|$category.name|\£|</option>
                    |£|/foreach|\£|
                </select>
            </div>
        </form>
    </div>
    <div class="clr"></div>
</div>
<div id="eventi"></div>